#ifndef __MATRIX_H
#define __MATRIX_H

#include "board.h"
#include "board.h"
#include "bflb_mtimer.h"
#include "bflb_gpio.h"
#include "log.h"

extern uint8_t rows[];
extern uint8_t cols[];
extern uint8_t rows_cnt;
extern uint8_t cols_cnt;

void matrix_keys_init();
uint16_t get_key_val();
char val2char(uint16_t key_val);
#endif